package com.nsu.cl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nsu.cl.pojo.Grade;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 52618
* @description 针对表【grade(年级表)】的数据库操作Service
* @createDate 2023-02-16 14:21:02
*/
public interface GradeService extends IService<Grade> {

    List<Grade> getGrades();

    IPage<Grade> getGradeByOpr(Page<Grade> page, String name);

    Grade getGradeById(Long id);

    Grade getGradeByName(String name);
}
